<template>
  <a-layout id="components-layout-demo-top-side">
    <the-header-view></the-header-view>
    <a-layout>
      <the-sider-view></the-sider-view>
      <a-layout-content
        :style="{ background: '#fff', padding: '24px', margin: 0, minHeight: '280px'}"
        >
        <router-view></router-view>
      </a-layout-content>
    </a-layout>
    <the-foot></the-foot>
  </a-layout>
</template>
<script>
import { defineComponent,ref } from 'vue';
import TheHeaderView from "@/components/the-header.vue";
import TheFoot from "@/components/the-foot.vue";
import TheSliderView from "@/components/the-sider.vue";
import axios from "axios";
import {notification} from "ant-design-vue";
import TheSiderView from "@/components/the-sider.vue";

export default defineComponent({
  components: {
    TheSiderView,
    TheHeaderView,
    //TheSliderView,
    TheFoot
  },
  setup(){
    // 获取所有会员总数
    // const count = ref(0);
    // axios.get("/member/member/count").then((response) => {
    //   let data = response.data;
    //   if (data.success){
    //     count.value = data.content;
    //   }else {
    //     notification.error({description:data.message});
    //   }
    // });
    return{
      //count
    };
  }
});





</script>
<style>

</style>